package com.beisita.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.beisita.base.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @Author:roger
 * @Date: 2020/9/27
 * @Time: 19:22
 */
@Data
@TableName(value = "stu")
public class StuEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    private Short age;
    private String address;
    private Date birth;
    private String favor;
    private String remark;
}
